package com.paas.form.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.paas.common.model.BaseUserInfo;
import com.paas.form.dto.FormMasterApplyDTO;
import com.paas.form.dto.FormMasterApplyBPMDTO;
import com.bpm.feign.model.ProcessCmd;
import com.paas.form.entity.FormMasterApplyEntity;
import com.paas.common.web.service.IBaseService;
import org.springframework.data.repository.query.Param;


public interface IFormMasterApplyService extends IBaseService<FormMasterApplyEntity>{

    IPage<FormMasterApplyDTO> formMasterApplyList(FormMasterApplyEntity formMasterApplyEntity, Integer currentPage, Integer pageSize);

    FormMasterApplyDTO formMasterApplyById(@Param("id") String id);

    void updateStatus(FormMasterApplyEntity formMasterApplyEntity, BaseUserInfo baseUserInfo);

    void saveAndInitiate(FormMasterApplyBPMDTO<ProcessCmd> dsmStandardSetDto, BaseUserInfo baseUserInfo);
    
}